import sys

def run(module):
   if len(sys.argv) >= 2:
      print 'first arg: %s' % sys.argv[0]
      print 'second arg: %s' % sys.argv[1]

      arg = sys.argv[1]
      if arg == 'update':
         module.update()
      elif arg == 'start':
         module.start()
      elif arg == 'configure':
         module.configure()
      else:
         print 'unrecognized argument %s' % arg
   else:
       print 'your options: configure, start, or update'
